<?php
/**
 * @file
 * Help needed for the development and maintenance of 'GreenInDeed'.
 *
 * Usage:
 *  - A hyperlink for users to view the help needed page should link to this
 *    page.
 *
 * Parameter(s):
 *  - $TITLE        : Title of help needed page.
 *  - $FILES_CSS    : Array of application specific CSS files to load.
 *  - $FILES_JS     : Array of application specific JavaScript files to load.
 *  - $PARAM_GET_JS : Flag 'GET' parameters should be stored in a JavaScript
 *                    variable. (See 'js_params_get.php'.)
 *  - $JS_INIT      : Initialization JavaScript. (Optional.)
 *  - $HEADER       : Page header. (Optional.)
 *  - $HEADING_PAGE : Page heading. (Optional.)
 *  - $HEADINGS     : Array of section headings.
 *  - $CONTENTS     : Array of section contents.
 *
 * Global variable(s) set:
 *  - None.
 *
 * Global variable(s) unset:
 *  - None.
 *
 * Exception(s):
 *  - None.
 *
 * This file includes/requires:
 *  - h_greenindeed.php
 *  - jqui_accordion.php
 */

// header file(s) ==============================================================
require_once "h_greenindeed.php";


// global variable(s) ==========================================================
$TITLE = APP_NAME;  //!< Title of help needed page.

//! Array of application specific CSS files to load.
$FILES_CSS = array (
  "css_greenindeed.css.php"
);
//! Array of application specific JavaScript files to load.
$FILES_JS = array (
  "js_header.js.php"
);
/*! Flag 'GET' parameters should be stored in a JavaScript variable.
 *  (See 'js_params_get.php'.)
 */
$PARAM_GET_JS = true;

//! Initialization JavaScript.
$JS_INIT  = "header_init();";

//! Page header.
$HEADER = "header.php";

//! Page heading.
$HEADING_PAGE = "Help Neeeded";

//! Array of section headings.
$HEADINGS = array (
  "Images, Ideas, Design, etc", // images, ideas, design, etc.
  "Donate",                     // donation
  "Advertise",                  // advertisement
  "Technical Help"              // technical help
);

//! Array of section contents.
$CONTENTS = array (
  // images, ideas, design, etc.
  APP_NAME . " needs somebody to help design a logo, an icon and a banner
  image. We welcome any contribution and will acknowledge all images selected
  for use.<br><br>
  Also, if you have any suggestions/ideas on how to make " . APP_NAME . " more
  interactive, fun, addictive, etc., feel free to contact " . APP_NAME . "'s
  <a href='http://www.facebook.com/Yeo.Han.Kwang' target='_blank'>owner</a>.",

  // donation
  "Donations are definitely welcomed. If the total donation amount received
  within one year exceeds SGD100, 40% of this total will be donated to the
  <a href='http://www.wwf.org' target='_blank'>WWF (World Wide Fund for
  Nature)</a> and 40% to <a href='http://www.acres.org.sg/' target='_blank'>
  ACRES (Animal Concerns Research & Education Society)</a>. The remaining 20%
  goes to the maintenance of " . APP_NAME . " (including feeding the hungry
  developer(s) :P). All donations received will be shown in this section for
  accountability. Please contact " . APP_NAME . "'s
  <a href='http://www.facebook.com/Yeo.Han.Kwang' target='_blank'>owner</a> to
  make a donation.
  <br><br>
  <table border='1' style='border-collapse:collapse' cellpadding='3'>
    <tr>
      <th>Date</th>
      <th>Donor</th>
      <th>Amount (SGD)</th>
    </tr>
    <tr>
      <td colspan='3'>No donation yet.</td>
    </tr>
  </table>
  <br><br>",

  // advertisement
  "We accept advertisements that match the 'Green' theme of " . APP_NAME . ".
  (E.g. 'Green' products or events, eco-tourism, social projects, etc.) Please
  contact " . APP_NAME . "'s <a href='http://www.facebook.com/Yeo.Han.Kwang'
  target='_blank'>owner</a> to advertise on " . APP_NAME . ".",

  // technical help
  APP_NAME . " is open source! Green techies can help out at <a
  href='http://code.google.com/p/greenindeed/' target='_blank'>
  http://code.google.com/p/greenindeed/</a>."
);

// implementation ==============================================================
require_once $PATH_COMMON . "php/jqui_accordion.php";
?>
